//
//  PhotosetInfo.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-7-3.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface PhotosetInfo : NSObject {
	/**
	 * Photoset ID
	 */
	NSString *setID;
	/**
	 * 所有者用户NSID
	 */
	NSString *owner;
	/**
	 * 照片集封面图片的NSID
	 */
	NSString *primary;
	/**
	 * 当前照片集的照片数目
	 */
	NSInteger photos;
	/**
	 * 标题
	 */
	NSString *title;
	/**
	 * 描述
	 */
	NSString *description;
	/**
	 * 照片集密钥
	 */
	NSString *secret;
	
	NSString *serverID;
	
	NSString *farmID;
	
	NSString *url;
}

@property(nonatomic, retain) NSString *setID;
@property(nonatomic, retain) NSString *primary;
@property(nonatomic, retain) NSString *secret;
@property(nonatomic, retain) NSString *serverID;
@property(nonatomic, retain) NSString *farmID;
@property(nonatomic, retain) NSString *title;
@property(nonatomic, retain) NSString *description;
@property(nonatomic) NSInteger photos;
@property(nonatomic, retain) NSString *url;

/**
 * 通过属性字段设置内容
 */
- (void)setProperties:(NSDictionary *)attribs;

@end
